package com.kaibes.web.admin;

import com.kaibes.web.admin.IconBox;

public abstract class IconBox implements Comparable<IconBox>{

    private int sort;
    private long count;
    private String icon;
    private String name;
    private String href;
    private String classAppend;
    
    public int getSort() {
		return sort;
	}

	public void setSort(int sort) {
		this.sort = sort;
	}

	public long getCount() {
		return count;
	}

	public void setCount(long count) {
		this.count = count;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	public String getClassAppend() {
		return classAppend;
	}

	public void setClassAppend(String classAppend) {
		this.classAppend = classAppend;
	}

	@Override
    public int compareTo(IconBox o) {
        return sort - o.sort;
    }
    
    public abstract void update();
}
